require("./model/sync");

const Mock = require("mockjs");

const result = Mock.mock({
  "datas|50-80": [{
    status: /on|off/,
    "area_id|57-136": 100,
    "money|1000-1000000": 10000,
    atm_code: /ATM#[a-z]{3}\d{3}/,
  }]
}).datas;

const Atm = require("./model/Atm");
Atm.bulkCreate(result);